package I;

import javax.swing.*;
import java.awt.*;

/**
 * 取款界面
 */
public class GetPanel extends JPanel {
    private ImageIcon lginImg = new ImageIcon("picture/buttonSure.jpg");
    private JLabel money = new JLabel("取款金额：");
    private JTextField sumOfMonry = new JTextField();
    private Font font = new Font("黑体",Font.BOLD,20);
    private JButton loginBtn = new JButton(lginImg);
    public GetPanel(){
        this.setLayout(null);
        money.setBounds(300,250,120,50);
        sumOfMonry.setBounds(400,250,180,50);
        loginBtn.setBounds(500,400,140,50);
        money.setFont(font);
        sumOfMonry.setFont(font);
        this.add(money);
        this.add(sumOfMonry);
        this.add(loginBtn);
        this.setOpaque(false);
    }
}
